package com.kim.useroauth.server.constants;

import lombok.Getter;

/**
 * 用户绑定类型
 */
@Getter
public enum UserBindingEnum {

    /**
     * 微信
     */
    WECHAT(1,"unionId"),

    /**
     * 网易IM
     */
    IM(2,"imToken"),

    /**
     * ios
     */
    IOS(3,"ios");

    /**
     * 类型值
     */
    private final int type;

    private final String bindingKey;

   UserBindingEnum(int type,String bindingKey) {
        this.type = type;
        this.bindingKey = bindingKey;
    }

}
